package com.qianyu.core.util;


public class CacheKeyUtil {

    /**
     * 添加QQ到超时集合
     */
    public static String accountTimeoutSortSet() {
        return "accountTimeoutSortedSet";
    }
    /**
     * 版本控制超时集合key
     *
     * @return
     */
    public static String versionConfSortedSet() {
        return "versionConfSortedSet";
    }


    /**
     * qq申请集合key
     *
     * @return
     */
    public static String applyQqAccountSet() {
        return "applyQqAccountSet";
    }

    /**
     * 活动任务key
     *
     * @return
     */
    public static String cronTaskQqAccountSet(Long task) {
        return "cronTaskQqAccountSet"+task;
    }


    /**
     * qq申请集合key
     *
     * @return
     */
    public static String flushQbSet(Long taskId) {
        return "flushQbSet"+taskId;
    }


    /**
     * 刷open取号队列
     *
     * @return
     */
    public static String getOpenInfoSet() {
        return "getOpenInfo";
    }

    /**
     * 城市配置缓存
     * * @return
     */
    public static String appidAndQqCache(String appid, String qq) {
        return appid + ":" + qq;
    }
}
